package com.fengze.business.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.fengze.common.annotation.Excel;
import com.fengze.common.core.domain.BaseEntity;

/**
 * 审核意见对象 fz_audit_opinion
 * 
 * @author lug
 * @date 2024-12-10
 */
public class AuditOpinion extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 业务主键 */
    @Excel(name = "业务主键")
    private Long busiId;

    /** 业务类型编码 */
    @Excel(name = "业务类型编码")
    private String busiType;

    /** 审核意见 */
    @Excel(name = "审核意见")
    private String opinion;

    /** 审核状态3同意  4拒绝 */
    @Excel(name = "审核状态3同意  4拒绝")
    private Integer status;

    /** 创建用户主键、审核人主键 */
    @Excel(name = "创建用户主键、审核人主键")
    private Long userId;

    /** 创建部门主键、审核人部门主键 */
    @Excel(name = "创建部门主键、审核人部门主键")
    private Long deptId;

    /** 审核人姓名 */
    @Excel(name = "审核人姓名")
    private String createUserName;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setBusiId(Long busiId) 
    {
        this.busiId = busiId;
    }

    public Long getBusiId() 
    {
        return busiId;
    }
    public void setBusiType(String busiType) 
    {
        this.busiType = busiType;
    }

    public String getBusiType() 
    {
        return busiType;
    }
    public void setOpinion(String opinion) 
    {
        this.opinion = opinion;
    }

    public String getOpinion() 
    {
        return opinion;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setCreateUserName(String createUserName) 
    {
        this.createUserName = createUserName;
    }

    public String getCreateUserName() 
    {
        return createUserName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("busiId", getBusiId())
            .append("busiType", getBusiType())
            .append("opinion", getOpinion())
            .append("status", getStatus())
            .append("userId", getUserId())
            .append("deptId", getDeptId())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("createUserName", getCreateUserName())
            .toString();
    }
}
